package com.vincent.template.dto.sys.bind;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Vincent Wang
 * @date 2021/3/22 22:17
 */
public class BindAuthGroupAuthDto {

    @ApiModelProperty(value = "权限组ID")
    @NotNull
    private Long authGroupId;

    @ApiModelProperty(value = "权限ID列表")
    @NotEmpty
    private List<Long> authIds;

    public Long getAuthGroupId() {
        return authGroupId;
    }

    public void setAuthGroupId(Long authGroupId) {
        this.authGroupId = authGroupId;
    }

    public List<Long> getAuthIds() {
        return authIds;
    }

    public void setAuthIds(List<Long> authIds) {
        this.authIds = authIds;
    }
}
